AddLineObject Method (Section Object)

The AddLineObject method adds a LineObject Object to the Section Object. If optional parameter [pEndSection] is passed different from the current section, you can add a vertical line across sections.

Syntax
Function AddLineObject (Left As Long, Top As Long,
    Right As Long, Bottom As Long, [pEndSection]) As LineObject
Parameters

Parameter Description

Left

Specifies the offset of the top left corner of the Object that you are adding relative to the top left corner of the parent Section, in twips.

Top

Specifies the offset of the top left corner of the Object that you are adding relative to the top left corner of the parent Section, in twips.

Right

Specifies the offset of the bottom right corner of theObject that you are adding relative to the bottom right corner of the parent (or end) Section, in twips.

Bottom

Specifies the offset of the bottom right corner of theObject that you are adding relative to the bottom right corner of the parent (or end) Section, in twips.

[pEndSection]

Specifies the Section in which the end of the LineObject will be placed, if not the parent Section.

Returns

Returns a LineObject Object.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com